package org.example.other;

public class SafetyEvent {
    private EventType type;
    private String message;

    public SafetyEvent(EventType type) {
        this.type = type;
        this.message = type.toString() + "事件";
    }

    public EventType getType() {
        return type;
    }

    public String getMessage() {
        return message;
    }
}
